from django.contrib import admin
from django.urls import path
from user.views import *


urlpatterns = [
    path('login/', LogInViaUsernameView.as_view(), name='login_username'),
    path('logout/', LogOutView.as_view(), name='logout'),
    path('login_email/', LogInViaEmailView.as_view(), name='login_email'),
    path('register/', RegisterView.as_view(), name='register'),
    path('', IndexView.as_view(), name='index'),
]